﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class LotteryOrder
    {
        public const string TABLE_NAME = "LotteryOrder";
        public const string INSERT_SQL = "insert into LotteryOrder([ID],[UserID],[UserName],[LotteryCode],[LotteryID],[AuditID],[Status],[RequestTime],[AuditTime],[AuditName],[LotteryType],[Mobile],[QQ],[Mail]) values (@ID,@UserID,@UserName,@LotteryCode,@LotteryID,@AuditID,@Status,@RequestTime,@AuditTime,@AuditName,@LotteryType,@Mobile,@QQ,@Mail)";
        public const string UPDATE_SQL = "UPDATE LotteryOrder SET [ID]=@ID,[UserID]=@UserID,[UserName]=@UserName,[LotteryCode]=@LotteryCode,[LotteryID]=@LotteryID,[AuditID]=@AuditID,[Status]=@Status,[RequestTime]=@RequestTime,[AuditTime]=@AuditTime,[AuditName]=@AuditName,[LotteryType]=@LotteryType,[Mobile]=@Mobile,[QQ]=@QQ,[Mail]=@Mail where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string UserName
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string LotteryCode
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int LotteryID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int AuditID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int Status
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime RequestTime
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime AuditTime
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string AuditName
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int LotteryType
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Mobile
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string QQ
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Mail
        {
            get;
            set;
        }
    }

}
